package com.ruoyi.energize.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 的确表对象 area
 * 
 * @author ruoyi
 * @date 2023-06-07
 */
public class Area extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private Integer id;

    /** 地区ID */
    @Excel(name = "地区ID")
    private Integer areaid;

    /** 地区名称 */
    @Excel(name = "地区名称")
    private String area;

    /** 城市ID */
    @Excel(name = "城市ID")
    private String cityid;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setAreaid(Integer areaid) 
    {
        this.areaid = areaid;
    }

    public Integer getAreaid() 
    {
        return areaid;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setCityid(String cityid) 
    {
        this.cityid = cityid;
    }

    public String getCityid() 
    {
        return cityid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaid", getAreaid())
            .append("area", getArea())
            .append("cityid", getCityid())
            .toString();
    }
}
